<% title "portada - editar" %>

<!-- tiny_mce editor:INI -->
<script type="text/javascript" src="/javascripts/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
	mode : "textareas",
	theme : "advanced",
	theme_advanced_buttons1 : "bold,italic,underline,justifyleft,justifycenter,justifyright,justifyfull,undo,redo,formatselect",
	theme_advanced_buttons2 : "",
	theme_advanced_buttons3 : "",
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align : "left",
  theme_advanced_blockformats : "p,h3",
  theme_advanced_resizing : true,
  theme_advanced_statusbar_location : "bottom",
  theme_advanced_resize_horizontal : false
});
</script>
<!-- tiny_mce editor:END -->

<div id="contenido" class="portada">
  <%
    form_for(
      :portada,
      :url => admin_portada_actualizar_url
    ) do |f|
  %>
  <div id="portada">
      <div id="portada_cuerpo">
        <label for="texto">Texto</label>
        <%= f.text_area :texto %>
      </div>
      
      <div class="submit">
        <p>
          <%= submit_tag 'Actualizar', :class => 'submit' %>
        </p>
      </div>

  </div>
  <% end %>
      
</div>